from twisted.internet import wxreactor
wxreactor.install()
import wx
from gui.frame import MailFrame
from twisted.internet import reactor

if __name__ == '__main__':
    app = wx.PySimpleApp()
    frame = MailFrame()
    frame.Show()
    reactor.registerWxApp(app)
    reactor.run()